/*
 * UserService.java
 * Copyright 2018 Qunhe Tech, all rights reserved.
 * Qunhe PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */

package com.bearox.trans.service;

import com.bearox.trans.data.dto.UserDto;

/**
 * @author Bearox
 */
public interface UserService {
    /**
     * 注册用户
     * @param userDto
     * @param password
     * @return 注册成功返回用户Id，否则返回null
     */
    Long register(final UserDto userDto, final String password);
}
